ARG REPO=$REPO

FROM ${REPO}/nginx:latest
MAINTAINER guoxi guoxi9@crc.com.cn

RUN mkdir -p /etc/nginx/html/
COPY . /etc/nginx/html/

RUN mv /etc/nginx/html/cloud/nginx/* /etc/nginx/ && \
    # cd /etc/nginx/html/APPTEST/ && \
    chmod 777 /etc/nginx/start.sh && \
    chmod 777 /etc/nginx/html


# EXPOSE 10089

# CMD ["sh","-c","/etc/nginx/start.sh"]

# EXPOSE 7080
